package com.shushan.pages.newtype.bean;

import com.android.net.bean.NetBaseBean;

import org.json.JSONException;
import org.json.JSONObject;

/**
 * @ClassName: InterpretationBean
 * @Desciption: //单词学一学翻译数据bean
 * @author: zhangshihao
 * @date: 2018-08-17
 */
public class InterpretationBean extends NetBaseBean {

    public String type;
    public String name;

    @Override
    public void initByJson(JSONObject jsonObject) throws JSONException {
        if(jsonObject == null){
            return;
        }
        type = jsonObject.optString("type","");
        name = jsonObject.optString("name","");
    }

}
